package com.retired_serviceman_management.service;

import com.retired_serviceman_management.entity.EnterpriseInfo;
import com.retired_serviceman_management.util.Enterprise_util;

import java.util.List;

public interface Enterprise_Info_Service {
    List<EnterpriseInfo> queryAll();

    Integer Update_Enterprise(EnterpriseInfo enterpriseInfo);

    Integer Delete_Enterprise(Integer comAccount);

    Integer CheckAccount(String comAccount,String comPassword);

    EnterpriseInfo queryBycomAccount(String comAccount);

    Integer register(String comName,String comAccount,String comPassword,String comPassword1);

    Integer Update_password(String comAccount,String old_password,String new_password,String new_password2);

    Integer insert_Enterprise(Enterprise_util enterpriseInfo);

}
